package Demo;
import java.util.Objects;

public class Test1 {
    public static void main(String[] args) {
        Dog dog1=new Dog(13,"wwww");
        Dog dog2=new Dog(13,"wwww");
        System.out.println(dog1==dog2);
        System.out.println(dog1.equals(dog2));
    }
}

